home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / X11 / Xaw / Box.h < prev    next >
C/C++ Source or Header  |  2006-04-12  |  4KB  |  109 lines

  1. /*
  2. * $Xorg: Box.h,v 1.4 2001/02/09 02:03:43 xorgcvs Exp $
  3. */
  4.  
  5.  
  6. /***********************************************************
  7.  
  8. Copyright 1987, 1988, 1998  The Open Group
  9.  
  10. Permission to use, copy, modify, distribute, and sell this software and its
  11. documentation for any purpose is hereby granted without fee, provided that
  12. the above copyright notice appear in all copies and that both that
  13. copyright notice and this permission notice appear in supporting
  14. documentation.
  15.  
  16. The above copyright notice and this permission notice shall be included in
  17. all copies or substantial portions of the Software.
  18.  
  19. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  20. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  21. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
  22. OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  23. AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  24. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  25.  
  26. Except as contained in this notice, the name of The Open Group shall not be
  27. used in advertising or otherwise to promote the sale, use or other dealings
  28. in this Software without prior written authorization from The Open Group.
  29.  
  30.  
  31. Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
  32.  
  33.                         All Rights Reserved
  34.  
  35. Permission to use, copy, modify, and distribute this software and its 
  36. documentation for any purpose and without fee is hereby granted, 
  37. provided that the above copyright notice appear in all copies and that
  38. both that copyright notice and this permission notice appear in 
  39. supporting documentation, and that the name of Digital not be
  40. used in advertising or publicity pertaining to distribution of the
  41. software without specific, written prior permission.  
  42.  
  43. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  44. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  45. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  46. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  47. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  48. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  49. SOFTWARE.
  50.  
  51. ******************************************************************/
  52. /* $XFree86: xc/lib/Xaw/Box.h,v 1.7 2001/01/17 19:42:25 dawes Exp $ */
  53.  
  54. #ifndef _XawBox_h
  55. #define _XawBox_h
  56.  
  57. #include <X11/Xmu/Converters.h>
  58.  
  59. /*
  60.  * Box Widget (subclass of CompositeClass)
  61.  */
  62.  
  63. /* Resources:
  64.  
  65.  Name             Class        RepType        Default Value
  66.  ----             -----        -------        -------------
  67.  background         Background        Pixel        XtDefaultBackground
  68.  border             BorderColor    Pixel        XtDefaultForeground
  69.  borderWidth         BorderWidth    Dimension    1
  70.  destroyCallback     Callback        Pointer        NULL
  71.  displayList         DisplayList    XawDisplayList*    NULL
  72.  hSpace          HSpace        Dimension    4
  73.  height             Height        Dimension    0
  74.  mappedWhenManaged   MappedWhenManaged    Boolean        True
  75.  orientation         Orientation    XtOrientation    vertical
  76.  vSpace          VSpace        Dimension    4
  77.  width             Width        Dimension    0
  78.  x             Position        Position    0
  79.  y             Position        Position    0
  80.  
  81. */
  82.  
  83. #ifndef _XtStringDefs_h_
  84. #define XtNhSpace "hSpace"
  85. #define XtNvSpace "vSpace"
  86. #endif
  87.  
  88. #ifndef OLDXAW
  89. #ifndef XawNdisplayList
  90. #define XawNdisplayList "displayList"
  91. #endif
  92.  
  93. #ifndef XawCDisplayList
  94. #define XawCDisplayList "DisplayList"
  95. #endif
  96.  
  97. #ifndef XawRDisplayList
  98. #define XawRDisplayList "XawDisplayList"
  99. #endif
  100. #endif /* OLDXAW */
  101.  
  102. /* Class record constants */
  103. extern WidgetClass boxWidgetClass;
  104.  
  105. typedef struct _BoxClassRec *BoxWidgetClass;
  106. typedef struct _BoxRec      *BoxWidget;
  107.  
  108. #endif /* _XawBox_h */
  109.